<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>link添加 </title>
    <link href="__PUBLIC__/admin/css/layout.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">
<div class="tab">
    <ul>
        <li><a href="__URL__/links_list">友情链接管理</a></li>
        <li><a href="__URL__/links_add" class="on">添加友情链接</a></li>
</ul></div>
<form action="__URL__/doLinks" method="post" class="form_validator">
<php>if($link["id"]){</php>
    <input type="hidden" name="id" value="{$link.id}">
<php>}</php>
<table border="0" cellPadding=4 cellSpacing=0 class=form>
<TBODY>
<tr class="top">
<td colspan="2" class="tit_bg"><strong>友情链接添加说明：</strong>
    </p>
    <p>1、特殊链接（显示顺序&lt;0，每行显示一个）</p>
<p>2、普通链接（显示顺序&gt;=0）</p></td>
</tr>


<tr>
    <th width="160" class="th">网站名称</th>
<td class="td" ><input class=t_input name=name value="{$link.name}"></td></tr>
<TBODY id=style_system>
    <tr>
        <th class="th">显示顺序</th>
        <td class="td" ><input class="t_input" name="sort" value="{$link.sort}"/></td>
    </tr>
    <tr>
        <th class="th">网站URL</th>
<td class="td"><input class="t_input" name="url" value="<php>echo $link['url']?$link['url']:'http://';</php>"/></td></tr></TBODY>
<TBODY>
<tr>
    <th class="th">网站说明</th>
<td class="td" ><input class="t_input" name="intro" value="{$link.intro}"/></td></tr>
<TBODY id=style_html>
    <tr>
        <th class="th" valign="top">网站logo</th>
<td class="td" ><input class="t_input" name="logo" value="{$link.logo}"/></td></tr></TBODY>
<tr>
    <th class="th">状态</th>
    <td class="td" >
        <label>
            <input name="status" type="radio" class="radio" id="radio" value="1" <php>if( !$link || $link["status"] == 1){</php> checked="true" <php>}</php>/>
        </label>
        已审
        <input name="status" type="radio" class="radio" id="radio2" value="0" <php>if($link && $link["status"] == 0){</php> checked="true" <php>}</php>/>
        未审
    </td>
</tr>
<tr>
    <th class="th">&nbsp;</th>
    <td class="td" ><input name="button" type="submit" class="button" id="button" value="提交" /></td>
</tr>

</form>

</table>
</div>
</body>
</html>
